package cn.imvc.app.repositories;


import org.springframework.data.jpa.repository.JpaRepository;

import cn.imvc.app.entities.GoodsSpec;


public interface GoodsSpecRepository  extends JpaRepository<GoodsSpec, Integer>{
	/**
	 * 根据specClassId 和  goodsId获取商品规格
	 * @param specClassId
	 * @param goodsId
	 * @return
	 */
	GoodsSpec findBySpecClassIdAndGoodsId(Integer specClassId, Integer goodsId);
}
